Method for selecting resource, apparatus for selecting resource, and storage medium

ABSTRACT

A resource selection method, includes: receiving first direct connection control signaling sent by a second device by using a first direct connection resource pool, the first direct connection control signaling comprising an indication of an auxiliary time-frequency resource set, and the auxiliary time-frequency resource set belonging to a second direct connection resource pool and being used for assisting a first device in resource selection; and selecting a direct connection transmission resource in a third direct connection resource pool on the basis of the auxiliary time-frequency resource set.

CROSS REFERENCE TO RELATED APPLICATIONS

The present application is a U.S. National Stage of International Application No. PCT/CN2020/138702, filed on Dec. 23, 2020, the contents of all of which are incorporated herein by reference in their entireties for all purposes.

BACKGROUND

Surging new-generation Internet applications require a higher-level radio communication technology, thus promoting continuous evolution of the radio communication technology to satisfy demands of the applications.

With development of a new-generation 5th generation (5G) mobile communication technology, a 3rd generation partnership project release-16 (3GPP Rel-16) provides support for direct communication services and scenarios by using a 5G new radio (NR) technology. For instance, it provides support for new vehicle to everything (V2X) communication services and scenarios.

SUMMARY

The disclosure relates to the technical field of communication, and particularly relates to a method for selecting a resource, an apparatus for selecting a resource, and a storage medium.

A first aspect of an example of the disclosure provides a method for selecting a resource. The method for selecting a resource is performed by a first device and includes: receiving first direct connection control signaling transmitted from a second device by using a first direct connection resource pool, where the first direct connection control signaling includes an indication of an auxiliary time and frequency resource set, and the auxiliary time and frequency resource set belongs to a second direct connection resource pool and is configured to assist the first device in selecting a resource; and selecting a direct transmission resource in a third direct connection resource pool on the basis of the auxiliary time and frequency resource set; where the first device is configured or pre-configured with a plurality of direct connection resource pools, and the third direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools.

A second aspect of an example of the disclosure provides a method for selecting a resource. The method for selecting a resource is performed by a second device and includes: determining the second device is configured or pre-configured with a plurality of direct connection resource pools, determining a first direct connection resource pool in the plurality of direct connection resource pools; and transmitting first direct connection control signaling by using the first direct connection resource pool, where the first direct connection control signaling includes an indication of an auxiliary time and frequency resource set, and the auxiliary time and frequency resource set belongs to a second direct connection resource pool and is configured to assist a first device in selecting a resource.

A third aspect of an example of the disclosure provides an apparatus for selecting a resource. The apparatus for selecting a resource includes:

-   -   a processor, and a memory configured to store an instruction         executable by the processor;     -   where the processor is configured to:     -   receive first direct connection control signaling transmitted         from a second device by using a first direct connection resource         pool, where the first direct connection control signaling         includes an indication of an auxiliary time and frequency         resource set, and the auxiliary time and frequency resource set         belongs to a second direct connection resource pool and is         configured to assist the first device in selecting a resource;         and select a direct transmission resource in a third direct         connection resource pool on the basis of the auxiliary time and         frequency resource set; where the first device is configured or         pre-configured with a plurality of direct connection resource         pools, and the third direct connection resource pool is one or         more direct connection resource pools in the plurality of direct         connection resource pool.

A fourth aspect of an example of the disclosure provides an apparatus for selecting a resource. The apparatus for selecting a resource includes:

-   -   a processor, and a memory configured to store an instruction         executable by the processor,     -   where the processor is configured to:     -   determine the second device is configured or pre-configured with         a plurality of direct connection resource pools, determine a         first direct connection resource pool in the plurality of direct         connection resource pools; and transmit first direct connection         control signaling by using the first direct connection resource         pool, where the first direct connection control signaling         includes an indication of an auxiliary time and frequency         resource set, and the auxiliary time and frequency resource set         belongs to a second direct connection resource pool and is         configured to assist a first device in selecting a resource.

A fifth aspect of an example of the disclosure provides a non-transitory computer-readable storage medium. When an instruction in the storage medium is executed by a processor of a mobile terminal, the mobile terminal is capable of executing the method for selecting a resource according to the first aspect.

An sixth aspect of an example of the disclosure provides a non-transitory computer-readable storage medium. When an instruction in the storage medium is executed by a processor of a mobile terminal, the mobile terminal is capable of executing the method for selecting a resource according to the second aspect.

It is to be understood that the above general description and the following detailed description are merely illustrative and explanatory, and cannot limit the disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings herein are incorporated in the description as a constituent part of the description, illustrate examples conforming to the disclosure, and serve to describe principles of the disclosure together with the description.

FIG. 1 is a schematic diagram of a direct communication system according to an illustrative example;

FIG. 2 is a flow diagram of a method for selecting a resource according to an illustrative example;

FIG. 3 is a flow diagram of another method for selecting a resource according to an illustrative example;

FIG. 4 is a flow diagram of yet another method for selecting a resource according to an illustrative example;

FIG. 5 is a flow diagram of yet another method for selecting a resource according to an illustrative example;

FIG. 6 is a flow diagram of yet another method for selecting a resource according to an illustrative example;

FIG. 7 is a flow diagram of still another method for selecting a resource according to an illustrative example;

FIG. 8 is a block diagram of an apparatus for selecting a resource according to an illustrative example;

FIG. 9 is a block diagram of another apparatus for selecting a resource according to an illustrative example; and

FIG. 10 is a block diagram of yet another apparatus for selecting a resource according to an illustrative example.

DETAILED DESCRIPTION

Illustrative examples will be described in detail herein and shown in the accompanying drawings illustratively. When the following descriptions involve the accompanying drawings, unless otherwise specified, the same numeral in different accompanying drawings denotes the same or similar elements. The embodiments described in the following illustrative examples do not denote all embodiments consistent with the disclosure. On the contrary, the embodiments are merely instances of an apparatus and a method consistent with some aspects of the disclosure as detailed in the appended claims.

In the related art, a direct communication resource pool includes time and frequency resources used by user equipment for direct communication. It is divided into a transmission (Tx) resource pool and a reception (Rx) resource pool. The user equipment senses a channel and selects a resource in the Tx resource pool, and conducts physical sidelink control channel (PSCCH) blind detection and receives data in the Rx resource pool. In the related art, user equipment A with direct communication can transmit a resource set to user equipment B with a resource selection mode of Mode2, and the user equipment B will take it into consideration when selecting resources for its own data transmission. The pieces of user equipment needs to coordinate resources with each other. However, in Rel-16 V2x, a piece of user equipment can be configured with a plurality of different Tx resource pools and/or Rx resource pools. When the user equipment is configured or pre-configured with a plurality of Tx resource pools, how to conduct effective inter-user coordination is a technical problem to be solved.

In order to solve problems in the related art, the disclosure provides a method for selecting a resource, an apparatus for selecting a resource, and a storage medium.

A method for selecting a resource according to an example of the disclosure may be applied to a direct communication system as shown in FIG. 1 . With reference to FIG. 1 , in a scenario of direct communication between direct communication devices, a network device 10 configures various transmission parameters for data transmission for a direct communication device 1 11. The direct communication device 1, a direct communication device 2 12 and a direct communication device 3 13 conduct direct communication. An obstacle 20 may exist between the direct communication device 2 and the direct communication device 3. A link for communication between the network device and the direct communication device is an uplink or a downlink, and a link between the direct communication device and the direct communication device is a sidelink.

In the disclosure, the scenario of direct communication between the direct communication devices may be a vehicle to everything (V2X) service scenario. V represents a vehicular device, and X represents any object interacting with the vehicular device. At present, X may includes a vehicular device, a handheld device, a roadside transportation infrastructure, and a network. Information modes of V2X interaction include: vehicle to vehicle (V2V), vehicle to infrastructure (V2I), vehicle to pedestrian (V2P), and vehicle to network (V2N).

The Internet of vehicles may effectively improve traffic safety, improve traffic efficiency, and enrich travel experience of people. Communication of the Internet of vehicles is supported by using an existing cellular communication technology, such that existing base station deployment may be effectively used, and device overhead may be reduced. Further, quality of service (QoS) guaranteed services may be provided to satisfy requirements of services of the Internet of vehicles. Therefore, long term evolution (LTE) release (Rel)-14/15 provides cellular network support for V2x communication of the Internet of vehicles, that is, cellular-vehicle to everything (C-V2X). In the C-V2x, the vehicular device may be in communication with other devices by means of a base station and a core network, that is, communication is conducted by means of an uplink or a downlink between terminal equipment and the base station in an original cellular network, and alternatively, communication may be conducted directly by means of a sidelink between devices. Compared with user-to-user (Uu) interface communication, sidelink communication has characteristics of a short delay and low overhead, which is very suitable for direct communication between the vehicular device and other peripheral devices having a close geographic position to the vehicular device.

The scenario of direct communication between the direct communication devices may be a device to device (D2D) communication scenario. In an example of the disclosure, the direct communication devices for direct communication may include various devices having a radio communication function such as a handheld device, a vehicular device, a wearable device, a computing device, or other processing devices connected to a radio modem, and various forms of user equipment (UE), a mobile station (MS), a terminal, terminal equipment, etc. For convenience of description, the example of the disclosure will be described below by taking a direct communication device as user equipment.

With development of a new-generation 5th generation (5G) mobile communication technology, a 3rd generation partnership project release-16 (3GPP Rel-16) provides, by using a 5G new radio (NR) technology, support for new V2x communication services and scenarios, such as vehicles platooning, extended sensors, advanced driving, and remote driving. Generally, the 5G V2x sidelink may provide a higher communication rate, a shorter communication delay and more reliable communication quality.

In the R16 NR sidelink, it is assumed that all pieces of direct connection user equipment use the same bandwidth part (BWP), and define a resource pool on the BWP. A direct communication resource pool includes time and frequency resources used by user equipment for direct communication, and is divided into a transmission resource pool (Tx resource pool) and a reception resource pool (Rx resource pool). The user equipment senses a channel and selects a resource in the Tx resource pool, and conducts physical sidelink control channel (PSCCH) blind detection and receives data in the Rx resource pool. In the Rel-16 V2x, a piece of user equipment may be configured with a plurality of different Tx resource pools and/or Rx resource pools.

On the basis of a technology of the Rel16 V2x, the Rel17 sidelink may continue to discuss how to further reduce delays and enhance reliability of direct communication through inter-user coordination. Rel-17 NR is discussing how to improve reliability of Mode2 resource selection or reduce delays through cooperation between users. A proposed method is that user equipment A transmits a resource set to user equipment B, and the user equipment B considers the resource set transmitted from the user equipment A when selecting a resource. For instance, the user equipment A may determine which resources are suitable for direct communication of the user equipment B or not according to a channel sensing result, and indicate the resources to the user equipment B. The user equipment B selects a resource by combining its own channel sensing result and a channel sensing result of the user equipment A, such that reliability of resource selection may be improved.

However, the above solution of coordinating a resource through cooperation between users is based on the assumption that both the user equipment A and the user equipment B set a Tx resource pool. When the user equipment A and/or the user equipment B are configured with more than one resource pool, how to effectively coordinate resources between the user equipment A and the user equipment B is not discussed.

An example of the disclosure provides a method for selecting a resource. In the method for selecting a resource, in response to determining user equipment is configured with a plurality of direct connection resource pools (more than one direct connection resource pool), resources are coordinated between several pieces of user equipment on the basis of the plurality of direct connection resource pools.

In the example of the disclosure, devices conducting direct communication are referred to as a first device and a second device for convenience of description. The first device may be user equipment selecting a resource on the basis of an auxiliary time and frequency resource transmitted from the second device, and for instance, may be the user equipment B in the above instance. It may be understood that the second device is user equipment providing the auxiliary time and frequency resource, and for instance, is the user equipment A in the above instance. The first device may be configured with a plurality of direct connection resource pools; and/or, the second device may be configured with a plurality of direct connection resource pools.

It may be understood that the plurality of direct connection resource pools configured for the first device and/or the second device may be Tx resource pools or Rx resource pools. The plurality of direct connection resource pools may be resource pools configured on the same BWP or carrier frequency, or resource pools configured on different BWPs or carrier frequencies.

Further, in the example of the disclosure, control signaling transmitted from the second device and configured to indicate an auxiliary time and frequency resource set considered when assisting the first device in selecting a resource is referred to as first direct connection control signaling. The first direct connection control signaling may be physical layer direct connection control signaling, media access control (MAC) layer direct connection control signaling, or radio resource control (RRC) layer direct connection control signaling.

Further, in the example of the disclosure, a resource pool where the second device transmits the first direct connection control signaling is referred to as a first direct connection resource pool. A direct connection resource pool to which the auxiliary time and frequency resource set assisting the first device in selecting the resource belongs is referred to as a second direct connection resource pool. A direct connection resource pool where the second device selects a direct transmission resource is referred to as a third direct connection resource pool.

FIG. 2 is a flow diagram of a method for selecting a resource according to an illustrative example. As shown in FIG. 2 , the method for selecting a resource is applied to a first device and includes steps as follows.

In S11, first direct connection control signaling transmitted from a second device by using a first direct connection resource pool is received.

The first direct connection control signaling includes an indication of an auxiliary time and frequency resource set. The auxiliary time and frequency resource set belongs to a second direct connection resource pool and is configured to assist the first device in selecting a resource.

In S12, a direct transmission resource is selected in a third direct connection resource pool on the basis of the auxiliary time and frequency resource set.

In the example of the disclosure, when a plurality of direct connection resource pools are configured between devices and the devices coordinate resources with each other, the second device transmits the first direct connection control signaling by using the first direct connection resource pool. The first direct connection control signaling includes the indication of the auxiliary time and frequency resource set, and the auxiliary time and frequency resource set belongs to the second direct connection resource pool and is configured to assist the first device in selecting the resource. The first device receives the first direct connection control signaling transmitted from the second device by using the first direct connection resource pool, and selects the direct transmission resource in the third direct connection resource pool on the basis of the auxiliary time and frequency resource set.

The first direct connection resource pool, the second direct connection resource pool and the third direct connection resource pool may be the same direct connection resource pool or not.

In the method for selecting a resource according to the example of the disclosure, the first device may be configured or pre-configured with a plurality of direct connection resource pools. The third direct connection resource pool may be one or more direct connection resource pools in the plurality of direct connection resource pools configured for the first device.

The technical solutions provided by the examples of the disclosure can have the following beneficial effects: the second device transmits the first direct connection control signaling by using the first direct connection resource pool, where the first direct connection control signaling includes the indication of the auxiliary time and frequency resource set, and the auxiliary time and frequency resource set belongs to the second direct connection resource pool and is configured to assist the first device in selecting the resource; and the first device receives the first direct connection control signaling transmitted from the second device by using the first direct connection resource pool, and selects the direct transmission resource in the third direct connection resource pool on the basis of the auxiliary time and frequency resource set. According to the disclosure, devices can coordinate resources with each other when the plurality of direct connection resource pools are configured between the devices.

FIG. 3 is a flow diagram of a method for selecting a resource according to an illustrative example. As shown in FIG. 3 , the method for selecting a resource is applied to a first device and includes steps as follows.

In S21, in response to determining the first device is configured or pre-configured with a plurality of direct connection resource pools, one or more direct connection resource pools are determined in the plurality of direct connection resource pools as a third direct connection resource pool.

In the example of the disclosure, the first device may be configured or pre-configured with a plurality of Tx resource pools or a plurality of Rx resource pools.

The plurality of direct connection resource pools configured or pre-configured for the first device may be resource pools configured on the same BWP or carrier frequency, or resource pools configured on different BWPs or carrier frequencies.

In S22, the first device selects a direct transmission resource in the third direct connection resource pool on the basis of an auxiliary time and frequency resource set.

In the example of the disclosure, the auxiliary time and frequency resource set belongs to a second direct connection resource pool and is configured to assist the first device in selecting a resource. In an embodiment, the second direct connection resource pool may be determined on the basis of the third direct connection resource pool.

In an embodiment, the second direct connection resource pool may be the same direct connection resource pool as the third direct connection resource pool.

The auxiliary time and frequency resource set provided by the example of the disclosure may be indicated by first direct connection control signaling transmitted from a second device. The second device may transmit the first direct connection control signaling by using a first direct connection resource pool. In an embodiment, the first direct connection resource pool may be determined on the basis of the third direct connection resource pool.

In an instance, the first direct connection resource pool may be the same direct connection resource pool as the third direct connection resource pool.

In the method for selecting a resource according to the example of the disclosure, under the condition of satisfying a triggering condition, the second device is triggered to transmit the first direct connection control signaling.

On one hand, in the method for selecting a resource according to the example of the disclosure, the first device may transmit direct connection control signaling configured to trigger the second device to transmit the first direct connection control signaling to the second device, which is referred to as second direct connection control signaling below. On the other hand, transmission of the first direct connection control signaling is triggered by sensing a direct connection channel or measuring a direct connection channel/signal.

In the method for selecting a resource according to the example of the disclosure, the third direct connection resource pool includes a time and frequency resource triggering the second device to transmit the first direct connection control signaling. The time and frequency resource triggering the second device to transmit the first direct connection control signaling includes one or a combination of the following: a time and frequency resource used by the second direct connection control signaling transmitted from the first device; a time and frequency resource used by a direct connection channel sensed or measured by the first device; and a time and frequency resource used by a direct connection signal sensed or measured by the first device. That is, the direct connection channel or the direct connection signal sensed or measured belongs to the third resource pool; and/or, a time and frequency resource used for transmission of the second direct connection control signaling belongs to the third resource pool.

FIG. 4 is a flow diagram of a method for selecting a resource according to an illustrative example. As shown in FIG. 4 , the method for selecting a resource is applied to a first device and includes steps as follows.

In S31, second direct connection control signaling is transmitted, where the second direct connection control signaling is configured to trigger a second device to transmit first direct connection control signaling.

In an embodiment, the second direct connection control signaling carries a second indication of a first direct connection resource pool and/or a second direct connection resource pool. In another embodiment, the second direct connection control signaling carries a third indication of a third direct connection resource pool.

In S32, the first direct connection control signaling transmitted from the second device by using the first direct connection resource pool is received.

The first direct connection control signaling includes an indication of an auxiliary time and frequency resource set. The auxiliary time and frequency resource set belongs to the second direct connection resource pool and is configured to assist the first device in selecting a resource.

In S33, a direct transmission resource is selected in the third direct connection resource pool on the basis of the auxiliary time and frequency resource set.

It may be understood that in the example of the disclosure, in response to determining the second device is configured with a plurality of direct connection resource pools, the second device determines a time and frequency resource used by the second direct connection control signaling in the plurality of direct connection resource pools. A direct connection resource pool to which the time and frequency resource used by the second direct connection control signaling belongs is referred to as a fourth direct connection resource pool below.

FIG. 5 is a flow diagram of a method for selecting a resource according to an illustrative example. As shown in FIG. 5 , the method for selecting a resource is applied to a first device and includes steps as follows.

In S41, a fourth direct connection resource pool to which a time and frequency resource used by second direct connection control signaling belongs is determined.

In an embodiment, in the example of the disclosure, the fourth direct connection resource pool may be determined according to configuration information. In an instance, the first device may obtain the configuration information by receiving base station downlink signaling or through pre-configuration.

In another embodiment, the fourth direct connection resource pool is determined on the basis of a set rule. In an instance, the fourth direct connection resource pool is determined according to a configuration order of direct connection resource pools, and alternatively, is randomly selected from a plurality of direct connection resource pools, and alternatively, is determined according to priority information of data to be transmitted.

In yet another embodiment, the fourth direct connection resource pool is determined on the basis of a channel sensing or signal measurement result. In an instance, selection is conducted according to a measurement value of a channel busy ratio (CBR). For instance, a direct connection resource pool having a minimum CBR measurement value or a CBR measurement value smaller than a certain threshold (that is, a congestion situation is not serious) is selected as the fourth direct connection resource pool.

In still another embodiment, the fourth direct connection resource pool is determined on the basis of a third direct connection resource pool.

In the example of the disclosure, the first device determines the fourth direct connection resource pool, and may transmit the second direct connection control signaling by using a time and frequency resource in the fourth direct connection resource pool. The second direct connection control signaling is configured to trigger the second device to transmit first direct connection control signaling.

In an embodiment, the second direct connection control signaling carries a second indication of a first direct connection resource pool and/or a second direct connection resource pool. In another embodiment, the second direct connection control signaling carries a third indication of the third direct connection resource pool.

The first device receives the first direct connection control signaling transmitted from the second device by using the first direct connection resource pool. The first direct connection control signaling includes an indication of an auxiliary time and frequency resource set. The auxiliary time and frequency resource set belongs to the second direct connection resource pool and is configured to assist the first device in selecting a resource. The first device selects a direct transmission resource in the third direct connection resource pool on the basis of the auxiliary time and frequency resource set.

In the method for selecting a resource according to the example of the disclosure, under the condition that the first device is configured with a plurality of direct connection resource pools, on one hand, the first device may coordinate resources between several pieces of user equipment on the basis of an independent direct connection resource pool. On the other hand, the first device may coordinate resources between a plurality of direct connection resource pools across the direct connection resource pools on the basis of the direct connection resource pools.

In the example of the disclosure, under the condition that the resources are coordinated between devices on the basis of the independent direct connection resource pool, the first device determines whether a direct connection resource pool supports selection of the direct transmission resource on the basis of the auxiliary time and frequency resource set according to configuration or pre-configuration information.

In the example of the disclosure, the first device may determine whether each of the plurality of direct connection resource pools configured or pre-configured supports selection of the resources on the basis of inter-user coordination by configuring or pre-configuring the base station downlink signaling.

In the example of the disclosure, the first device conducts resource inter-user coordination on each direct connection resource pool supporting selection of the resources through inter-user coordination in a plurality of different direct connection resource pools.

In the example of the disclosure, the third direct connection resource pool used for resource selection by the first device is a direct connection resource pool supporting selection of the direct transmission resource on the basis of the auxiliary time and frequency resource set. The third direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools.

In the example of the disclosure, the first direct connection resource pool and/or the second direct connection resource pool are/is determined on the basis of the third direct connection resource pool.

In an instance, the first direct connection resource pool and/or the third direct connection resource pool are/is the same direct connection resource pool as the third direct connection resource pool.

In an instance, the third direct connection resource pool includes a time and frequency resource triggering the second device to transmit the first direct connection control signaling.

In the example of the disclosure, the first device is configured or pre-configured with the plurality of direct connection resource pools, and the first direct connection resource pool used by the second device to transmit the first direct connection control signaling is one or more direct connection resource pools in the plurality of direct connection resource pools.

The first direct connection resource pool is determined by using one or a combination of the following modes:

Mode one: the first direct connection resource pool is determined on the basis of configuration information. The configuration information is obtained by receiving base station downlink signaling or through pre-configuration.

Mode two: the first direct connection resource pool is determined on the basis of a set rule. In an instance, the first direct connection resource pool is determined according to a configuration order of a plurality of direct connection resource pools, and alternatively, is randomly selected from a plurality of direct connection resource pools, and alternatively, is determined according to priority information of data to be transmitted.

Mode three: the first direct connection resource pool is determined on the basis of a channel sensing or signal measurement result. In an instance, a direct connection resource pool or a resource pool set is selected as the first direct connection resource pool according to the channel sensing or channel/signal measurement result. For instance, selection is conducted according to a measurement value of a CBR. For instance, a direct connection resource pool having a minimum CBR measurement value or a CBR measurement value smaller than a certain threshold (that is, a congestion situation is not serious) is selected as the first direct connection resource pool.

Mode four: the first direct connection resource pool is determined on the basis of a time and frequency resource triggering the second device to transmit the first direct connection control signaling. In an instance, if transmission of the first direct connection control signaling is activated by receiving the second direct connection control signaling transmitted from the first device, the second direct connection control signaling includes an indication of a direct connection resource pool or a resource pool set used by the second device to transmit the first direct connection control signaling, and the second device determines the first direct connection resource pool according to the indication, where the first direct connection resource pool may be a direct connection resource pool set. In another instance, if transmission of the first direct connection control signaling is triggered by sensing a direct connection channel or measuring a direct connection channel/signal, the second device determines the first direct connection resource pool to which resources used for transmission of the first direct connection control signaling belong according to the direct connection resource pool to which the sensed or measured direct connection channel or direct connection signal triggering the transmission of the direct connection control signaling belongs, where the first direct connection resource pool may be a direct connection resource pool set.

In the example of the disclosure, the first device is configured or pre-configured with a plurality of direct connection resource pools, and the second direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools.

The second direct connection resource pool is determined by using one or a combination of the following modes:

Mode one: the second direct connection resource pool is determined on the basis of configuration information. The configuration information is obtained by receiving base station downlink signaling or through pre-configuration. In an instance, the second device determines a second resource pool to which the auxiliary time and frequency resource set belongs according to a direct connection resource pool configured or pre-configured. The second resource pool may be a resource pool set.

Mode two: the second direct connection resource pool is determined according to a first indication in the first direct connection control signaling. In an instance, transmission of the first direct connection control signaling is activated by receiving the second direct connection control signaling transmitted from the first device, the second direct connection control signaling includes an indication of a resource pool or a resource pool set used by the first device to select a resource, and the first device determines a resource pool or a resource pool set to which the auxiliary time and frequency resource set belongs according to the indication, and determines the second direct connection resource pool.

Mode three: the second direct connection resource pool is determined according to a time and frequency resource used for transmission of the first direct connection control signaling. In an instance, a resource pool or a resource pool set is selected as the second direct connection resource pool according to the channel sensing or channel/signal measurement result. For instance, selection is conducted according to a measurement value of a CBR. For instance, a direct connection resource pool having a minimum CBR measurement value or a CBR measurement value smaller than a certain threshold (that is, a congestion situation is not serious) is selected as the second direct connection resource pool.

Mode four: the second direct connection resource pool is determined according to a channel sensing or signal measurement result. In an instance, transmission of the first direct connection control signaling is triggered by sensing a direct connection channel or measuring a direct connection channel/signal, and the first device determines a resource pool or a resource pool set to which the auxiliary time and frequency resource set belongs as the second direct connection resource pool according to a direct connection resource pool to which the sensed or measured direct connection channel or direct connection signal triggering the transmission of the first direct connection control signaling belongs.

Mode five: the second direct connection resource pool is determined on the basis of a time and frequency resource triggering the second device to transmit the first direct connection control signaling. In an instance, the second device determines the second direct connection resource pool to which the auxiliary time and frequency resource set belongs according to the first direct connection resource pool to which transmission of the first direct connection control signaling belongs. For instance, in a multi-carrier system, a resource pool (set) on the same carrier as the first direct connection resource pool to which the transmission of the first direct connection control signaling belongs is selected as the second direct connection resource pool.

FIG. 6 is a flow diagram of a method for selecting a resource according to an illustrative example. As shown in FIG. 6 , the method for selecting a resource is applied to a second device and includes steps as follows.

In S51, in response to determining the second device is configured or pre-configured with a plurality of direct connection resource pools, a first direct connection resource pool is determined in the plurality of direct connection resource pools.

In the example of the disclosure, the second device may be configured or pre-configured with a plurality of Tx resource pools or a plurality of Rx resource pools.

The plurality of direct connection resource pools configured or pre-configured for the second device may be resource pools configured on the same BWP or carrier frequency, or resource pools configured on different BWPs or carrier frequencies.

In S52, first direct connection control signaling is transmitted by using the first direct connection resource pool. The first direct connection control signaling includes an indication of an auxiliary time and frequency resource set, and the auxiliary time and frequency resource set belongs to a second direct connection resource pool and is configured to assist a first device in selecting a resource.

In the example of the disclosure, the first direct connection resource pool used by the second device to transmit the first direct connection control signaling is one or more direct connection resource pools in the plurality of direct connection resource pools.

The first direct connection resource pool is determined by using one or a combination of the following modes:

Mode one: the first direct connection resource pool is determined on the basis of configuration information. The configuration information is obtained by receiving base station downlink signaling or through pre-configuration.

Mode two: the first direct connection resource pool is determined on the basis of a set rule. In an instance, the first direct connection resource pool is determined according to a configuration order of a plurality of direct connection resource pools, and alternatively, is randomly selected from a plurality of direct connection resource pools, and alternatively, is determined according to priority information of data to be transmitted.

Mode three: the first direct connection resource pool is determined on the basis of a channel sensing or signal measurement result. In an instance, a direct connection resource pool or a resource pool set is selected as the first direct connection resource pool according to the channel sensing or channel/signal measurement result. For instance, selection is conducted according to a measurement value of a CBR. For instance, a direct connection resource pool having a minimum CBR measurement value or a CBR measurement value smaller than a certain threshold (that is, a congestion situation is not serious) is selected as the first direct connection resource pool.

Mode four: the first direct connection resource pool is determined on the basis of a time and frequency resource triggering the second device to transmit the first direct connection control signaling. In an instance, if transmission of the first direct connection control signaling is activated by receiving the second direct connection control signaling transmitted from the first device, the second direct connection control signaling includes an indication of a direct connection resource pool or a resource pool set used by the second device to transmit the first direct connection control signaling, and the second device determines the first direct connection resource pool according to the indication, where the first direct connection resource pool may be a direct connection resource pool set. In another instance, if transmission of the first direct connection control signaling is triggered by sensing a direct connection channel or measuring a direct connection channel/signal, the second device determines the first direct connection resource pool to which resources used for transmission of the first direct connection control signaling belong according to the direct connection resource pool to which the sensed or measured direct connection channel or direct connection signal triggering the transmission of the direct connection control signaling belongs, where the first direct connection resource pool may be a direct connection resource pool set.

In the example of the disclosure, the second direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools.

The second direct connection resource pool is determined by using one or a combination of the following modes:

Mode one: the second direct connection resource pool is determined on the basis of configuration information. The configuration information is obtained by receiving base station downlink signaling or through pre-configuration. In an instance, the second device determines a second resource pool to which the auxiliary time and frequency resource set belongs according to a direct connection resource pool configured or pre-configured. The second resource pool may be a resource pool set.

Mode two: the second direct connection resource pool is determined according to a first indication in the first direct connection control signaling. In an instance, transmission of the first direct connection control signaling is activated by receiving the second direct connection control signaling transmitted from the first device, the second direct connection control signaling includes an indication of a resource pool or a resource pool set used by the first device to select a resource, and the first device determines a resource pool or a resource pool set to which the auxiliary time and frequency resource set belongs according to the indication, and determines the second direct connection resource pool.

Mode three: the second direct connection resource pool is determined according to a time and frequency resource used for transmission of the first direct connection control signaling. In an instance, a resource pool or a resource pool set is selected as the second direct connection resource pool according to the channel sensing or channel/signal measurement result. For instance, selection is conducted according to a measurement value of a CBR. For instance, a direct connection resource pool having a minimum CBR measurement value or a CBR measurement value smaller than a certain threshold (that is, a congestion situation is not serious) is selected as the second direct connection resource pool.

Mode four: the second direct connection resource pool is determined according to a channel sensing or signal measurement result. In an instance, transmission of the first direct connection control signaling is triggered by sensing a direct connection channel or measuring a direct connection channel/signal, and the first device determines a resource pool or a resource pool set to which the auxiliary time and frequency resource set belongs as the second direct connection resource pool according to a direct connection resource pool to which the sensed or measured direct connection channel or direct connection signal triggering the transmission of the first direct connection control signaling belongs.

Mode five: the second direct connection resource pool is determined on the basis of a time and frequency resource triggering the second device to transmit the first direct connection control signaling. In an instance, the second device determines the second direct connection resource pool to which the auxiliary time and frequency resource set belongs according to the first direct connection resource pool to which transmission of the first direct connection control signaling belongs. For instance, in a multi-carrier system, a resource pool (set) on the same carrier as the first direct connection resource pool to which the transmission of the first direct connection control signaling belongs is selected as the second direct connection resource pool.

In an embodiment, the first direct connection control signaling carries a first indication of the second direct connection resource pool.

FIG. 7 is a flow diagram of a method for selecting a resource according to an illustrative example. As shown in FIG. 7 , the method for selecting a resource is applied to a second device and includes steps as follows.

In S61, second direct connection control signaling transmitted from a first device is received, where the second direct connection control signaling is configured to trigger the second device to transmit first direct connection control signaling.

In an embodiment, the second direct connection control signaling carries a second indication of a first direct connection resource pool and/or a second direct connection resource pool.

Under the condition that the second direct connection control signaling carries the second indication of the first direct connection resource pool and/or the second direct connection resource pool, the method for selecting a resource according to the example of the disclosure further includes S62 as follows.

In S62, the first direct connection resource pool and/or the second direct connection resource pool are/is determined on the basis of the second indication.

In an embodiment, the second direct connection control signaling carries a third indication of a third direct connection resource pool, and the third direct connection resource pool is a direct connection resource pool to which a direct transmission resource selected by the first device belongs.

Under the condition that the second direct connection control signaling carries the third indication of the third direct connection resource pool, the method for selecting a resource according to the example of the disclosure further includes S63 as follows.

In S63, the first direct connection resource pool and/or the second direct connection resource pool are/is determined on the basis of the third indication of the third direct connection resource pool.

It may be understood that S62 and S63 are alternative steps in the example of the disclosure.

In the method for selecting a resource according to the example of the disclosure, under the condition that the first device and/or the second device are/is configured with the plurality of direct connection resource pools, each of the plurality of direct connection resource pools conducts inter-device resource coordination independently, and alternatively, inter-device resource coordination may conducted across the direct connection resource pools.

In an instance, under the condition of a plurality of Tx resource pools, each Tx resource pool conducts inter-user coordination independently, and alternatively, inter-user coordination is conducted across the Tx resource pools. The following description takes the first device as user equipment B and the second device as user equipment A as an instance.

Case One: Inter-User Coordination on the Basis of an Independent Tx Resource Pool

It is assumed that the user equipment B is configured with a plurality of Tx resource pools. The plurality of Tx resource pools may be located on the same carrier frequency or not. What is not described in the following instance may also be understood as the condition that the plurality of Tx resource pools may be located on the same carrier frequency or not.

-   -   Whether each Tx resource pool supports selection of resources on         the basis of inter-user coordination may be determined by         configuring or pre-configuring base station downlink signaling.     -   For resource selection in different Tx resource pools by the         user equipment B, inter-user coordination is conducted according         to a resource pool for resource selection of the user equipment         B.     -   It is assumed that the user equipment B selects a resource in a         resource pool 1.

A time and frequency resource used for transmission of direct connection control signaling transmitted from the user equipment A to the user equipment B belongs to the resource pool 1. The direct connection control signaling includes or indicates time and frequency resource set information that the user equipment B needs to consider when selecting a resource in the resource pool 1. The direct connection control signaling may be physical layer direct connection control signaling, MAC layer direct connection control signaling, or RRC layer direct connection control signaling.

The time and frequency resource set information included in the direct connection control signaling also belongs to the resource pool 1.

If transmission of the direct connection control signaling is activated by receiving another direct connection control signaling (signaling 2) transmitted from the user equipment B, a time and frequency resource used for transmission of the signaling 2 belongs to the resource pool 1.

If transmission of the direct connection control signaling is triggered by sensing a direct connection channel or measuring a direct connection channel/signal, the sensed or measured direct connection channel or direct connection signal belongs to the resource pool 1.

Case Two: User Coordination Across Tx Resource Pools

It is assumed that the user equipment B is configured with a plurality of Tx resource pools.

-   -   a subset of the Tx resource pool may be indicated through         configuration or pre-configuration. The Tx resource pool in the         subset may be configured to transmit inter-user coordination         information (such as direct connection control signaling,         including a resource set, transmitted from the user equipment A         (UEA) to the user equipment B (UEB) or direct connection control         signaling transmitted from the UEB to trigger the UEA to conduct         coordination).

For instance, a specific carrier is configured for a multi-carrier system, and the Tx resource pool on the specific carrier may be configured to transmit of the inter-user coordination information.

-   -   Assuming that the direct connection control signaling         transmitted from the user equipment A to the user equipment B         includes or indicates time and frequency resource set         information that the user equipment B needs to consider when         selecting a resource, and the time and frequency resource set         may include time and frequency resources in one or more Tx         resource pools.

Which Tx resource set or sets the time and frequency resources included in the time and frequency resource set belong to is determined by using the following modes:

The user equipment A determines the Tx resource pool or resource pool set to which the time and frequency resource set belongs according to the Tx resource pool configured or pre-configured.

The user equipment A determines the Tx resource pool or resource pool set to which the time and frequency resource set belongs according to the Tx resource pool to which transmission of the direct connection control signaling belongs. For instance, in a multi-carrier system, a Tx resource pool (set) on the same carrier as the Tx resource pool to which the transmission of the direct connection control signaling belongs is selected.

The user equipment selects a Tx resource pool or resource pool set according to a channel sensing or channel/signal measurement result. For instance, selection is conducted according to a measurement value of a CBR. For instance, a Tx resource pool having a minimum CBR measurement value or a CBR measurement value smaller than a certain threshold (that is, a congestion situation is not serious) is selected.

If transmission of the direct connection control signaling is activated by receiving another direct connection control signaling (signaling 2) transmitted from the user equipment B, the signaling 2 includes an indication of a Tx resource pool or a Tx resource pool set used by the user equipment B to select a resource, and the user equipment A determines the Tx resource pool or resource pool set to which the time and frequency resource set belongs according to the indication.

If transmission of the direct connection control signaling is triggered by sensing a direct connection channel or measuring a direct connection channel/signal, the user equipment A determines a Tx resource pool or resource pool set to which the time and frequency resource set belongs according to a Tx resource pool to which the sensed or measured direct connection channel or direct connection signal triggering the transmission of the direct connection control signaling belongs.

The Tx resource pool to which the resources used for transmission of the direct connection control signaling transmitted from the user equipment A belong by using the following modes:

The user equipment A determines the Tx resource pool or resource pool set to which the transmission of the direct connection control signaling belongs according to the user-coordinated Tx resource pool or resource pool set configured or pre-configured.

The user equipment A determines the Tx resource pool according to some specific rule. For instance, the Tx resource pool is determined according to a configuration order of the Tx resource pools, and alternatively, is randomly selected from a plurality of Tx resource pools, and alternatively, is determined according to priority information of data to be transmitted.

The user equipment selects the Tx resource pool or resource pool set according to the channel sensing or channel/signal measurement result. For instance, selection is conducted according to the measurement value of the CBR. For instance, the Tx resource pool having a minimum CBR measurement value or a CBR measurement value smaller than a certain threshold (that is, a congestion situation is not serious) is selected.

If transmission of the direct connection control signaling is activated by receiving another direct connection control signaling (signaling 2) transmitted from the user equipment B, the signaling 2 includes an indication of a Tx resource pool or resource pool set used by the user equipment A to transmit the direct connection control signaling, and the user equipment A determines the Tx resource pool (set) according to the indication.

If transmission of the direct connection control signaling is triggered by sensing a direct connection channel or measuring a direct connection channel/signal, the user equipment A determines the Tx resource pool (set) to which the resources used for transmission of the direct connection control signaling belong according to the Tx resource pool to which the sensed or measured direct connection channel or direct connection signal triggering the transmission of the direct connection control signaling belongs.

-   -   If transmission of the direct connection control signaling is         activated by receiving another direct connection control         signaling (signaling 2) transmitted from the user equipment B,         the Tx resource pool used for transmission of the signaling 2 is         determined by using the following modes:

The user equipment B determines the Tx resource pool or resource pool set to which the time and frequency resource set belongs according to the configured or pre-configured Tx resource pool or the Tx resource pool used for signaling transmission coordination.

The user equipment B determines the Tx resource pool according to some specific rule. For instance, the Tx resource pool is determined according to the configuration order of the Tx resource pools, and alternatively, is randomly selected from the plurality of Tx resource pools, and alternatively, is determined according to priority information of data to be transmitted.

The user equipment B selects the Tx resource pool or resource pool set according to the channel sensing or channel/signal measurement result. For instance, selection is conducted according to the measurement value of the CBR. For instance, the Tx resource pool having a minimum CBR measurement value or a CBR measurement value smaller than a certain threshold (that is, a congestion situation is not serious) is selected.

Through the method for selecting a resource according to the example of the disclosure, the devices may coordinate resources with each other when the plurality of direct connection resource pools are configured between the devices.

It may be understood that the method for selecting a resource according to the example of the disclosure may be applied to a process of implementing resource selection through interaction between the first device and the second device. For the process of implementing resource selection through interaction between the first device and the second device, the first device and the second device have respective functions for executing the above method for selecting a resource. Reference may be made to the relevant description of the above examples for the details, which will not be repeated herein.

It is to be noted that those skilled in the art can understand that all the above embodiments/examples related to the example of the disclosure can be used together with the above-mentioned examples or independently. Whether the embodiments/examples are used independently or in combination with the above-mentioned examples, they have a similar implementation principle. In implementation of the disclosure, some examples are described as the embodiment used together. Certainly, those skilled in the art can understand that such illustration is not a limitation of the example of the disclosure.

On the basis of the same concept, an example of the disclosure further provides an apparatus for selecting a resource.

It may be understood that the apparatus for selecting a resource according to the example of the disclosure includes corresponding hardware structures and/or software modules for executing respective functions, so as to achieve the above functions. In combination with units and algorithmic steps of each instance disclosed in the example of the disclosure, the example of the disclosure may be implemented in the form of hardware or a combination of hardware and computer software. Whether some function is executed in a mode of hardware or of driving hardware by computer software depends on a specific application and design constraints of the technical solution. Those skilled in the art may achieve the described functions for each particular application through different methods, but such implementation is not considered to be beyond the scope of the technical solution of the example of the disclosure.

FIG. 8 is a block diagram of an apparatus for selecting a resource according to an illustrative example. With reference to FIG. 8 , the apparatus 100 for selecting a resource is applied to a first device. The apparatus 100 for selecting a resource includes a reception unit 101 and a processing unit 102.

The reception unit 101 is configured to receive first direct connection control signaling transmitted from a second device by using a first direct connection resource pool, where the first direct connection control signaling includes an indication of an auxiliary time and frequency resource set, and the auxiliary time and frequency resource set belongs to a second direct connection resource pool and is configured to assist the first device in selecting a resource. The processing unit 102 is configured to select a direct transmission resource in a third direct connection resource pool on the basis of the auxiliary time and frequency resource set.

In an embodiment, the first device is configured or pre-configured with a plurality of direct connection resource pools, and the third direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools.

In an embodiment, the first direct connection resource pool and/or the second direct connection resource pool are/is determined on the basis of the third direct connection resource pool.

In an embodiment, the first direct connection resource pool and/or the third direct connection resource pool are/is the same direct connection resource pool as the third direct connection resource pool.

In an embodiment, the third direct connection resource pool includes a time and frequency resource triggering the second device to transmit the first direct connection control signaling.

In an embodiment, the processing unit 102 is further configured to determine, according to configuration or pre-configuration information, whether a direct connection resource pool supports selection of the direct transmission resource on the basis of the auxiliary time and frequency resource set.

In an embodiment, the third direct connection resource pool is a direct connection resource pool supporting selection of the direct transmission resource on the basis of the auxiliary time and frequency resource set.

In an embodiment, the first device is configured or pre-configured with a plurality of direct connection resource pools, and the first direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools.

In an embodiment, the first direct connection resource pool is determined by using one or a combination of the following modes:

-   -   the first direct connection resource pool is determined on the         basis of configuration information, where the configuration         information is obtained by receiving base station downlink         signaling or through pre-configuration; the first direct         connection resource pool is determined on the basis of a set         rule; the first direct connection resource pool is determined on         the basis of a channel sensing or signal measurement result; and         the first direct connection resource pool is determined on the         basis of a time and frequency resource triggering the second         device to transmit the first direct connection control         signaling.

In an embodiment, the first device is configured or pre-configured with a plurality of direct connection resource pools, and the second direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools.

In an embodiment, the second direct connection resource pool is determined by using one or a combination of the following modes:

-   -   the second direct connection resource pool is determined on the         basis of configuration information, where the configuration         information is obtained by receiving base station downlink         signaling or through pre-configuration; the second direct         connection resource pool is determined according to a first         indication in the first direct connection control signaling; the         second direct connection resource pool is determined according         to a time and frequency resource used for transmission of the         first direct connection control signaling; the second direct         connection resource pool is determined according to a channel         sensing or signal measurement result; and the second direct         connection resource pool is determined on the basis of a time         and frequency resource triggering the second device to transmit         the first direct connection control signaling.

In an embodiment, the time and frequency resource triggering the second device to transmit the first direct connection control signaling includes one or a combination of the following:

-   -   a time and frequency resource used by second direct connection         control signaling transmitted from the first device; a time and         frequency resource used by a direct connection channel sensed or         measured by the first device; and a time and frequency resource         used by a direct connection signal sensed or measured by the         first device.

In an embodiment, the apparatus 100 for selecting a resource further includes a transmission unit 103. The transmission unit 103 is configured to transmit the second direct connection control signaling, where the second direct connection control signaling is configured to trigger the second device to transmit the first direct connection control signaling.

In an embodiment, the processing unit 102 is further configured to determine a fourth direct connection resource pool to which the time and frequency resource used by the second direct connection control signaling belongs.

In an embodiment, the fourth direct connection resource pool to which the time and frequency resource used by the second direct connection control signaling belongs is determined as follows: the fourth direct connection resource pool is determined according to the configuration information, where the configuration information is obtained by receiving the base station downlink signaling or through pre-configuration; the fourth direct connection resource pool is determined on the basis of the set rule; the fourth direct connection resource pool is determined on the basis of the channel sensing or signal measurement result; and the fourth direct connection resource pool is determined on the basis of the third direct connection resource pool.

In an embodiment, the second direct connection control signaling carries a second indication of the first direct connection resource pool and/or the second direct connection resource pool.

In an embodiment, the second direct connection control signaling carries a third indication of the third direct connection resource pool.

FIG. 9 is a block diagram of another apparatus for selecting a resource according to an illustrative example. With reference to FIG. 9 , the apparatus 200 for selecting a resource is applied to a second device. The apparatus 200 for selecting a resource includes a processing unit 201 and a transmission unit 202.

The processing unit 201 is configured to determine, in response to determining the second device is configured or pre-configured with a plurality of direct connection resource pools, a first direct connection resource pool in the plurality of direct connection resource pools. The transmission unit 202 is configured to transmit first direct connection control signaling by using the first direct connection resource pool, where the first direct connection control signaling includes an indication of an auxiliary time and frequency resource set, and the auxiliary time and frequency resource set belongs to a second direct connection resource pool and is configured to assist a first device in selecting a resource.

In an embodiment, the first direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools.

In an embodiment, the first direct connection resource pool is determined by using one or a combination of the following modes:

-   -   the first direct connection resource pool is determined on the         basis of configuration information, where the configuration         information is obtained by receiving base station downlink         signaling or through pre-configuration; the first direct         connection resource pool is determined on the basis of a set         rule; the first direct connection resource pool is determined on         the basis of a channel sensing or signal measurement result; and         the first direct connection resource pool is determined on the         basis of a time and frequency resource triggering the second         device to transmit the first direct connection control         signaling.

In an embodiment, the second direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools.

In an embodiment, the second direct connection resource pool is determined by using one or a combination of the following modes:

-   -   the second direct connection resource pool is determined on the         basis of configuration information, where the configuration         information is obtained by receiving base station downlink         signaling or through pre-configuration; the second direct         connection resource pool is determined according to a time and         frequency resource used for transmission of the first direct         connection control signaling; the second direct connection         resource pool is determined according to a channel sensing or         signal measurement result; and the second direct connection         resource pool is determined on the basis of a time and frequency         resource triggering the second device to transmit the first         direct connection control signaling.

In an embodiment, the first direct connection control signaling carries a first indication of the second direct connection resource pool.

In an embodiment, the apparatus 200 for selecting a resource further includes a reception unit 203. The reception unit 203 is configured to receive second direct connection control signaling transmitted from the first device, where the second direct connection control signaling is configured to trigger the second device to transmit the first direct connection control signaling.

In an embodiment, the second direct connection control signaling carries a second indication of the first direct connection resource pool and/or the second direct connection resource pool. The processing unit 201 is further configured to determine the first direct connection resource pool and/or the second direct connection resource pool on the basis of the second indication.

In an embodiment, the second direct connection control signaling carries a third indication of a third direct connection resource pool, and the third direct connection resource pool is a direct connection resource pool to which a direct transmission resource selected by the first device belongs. The processing unit 201 is further configured to determine the first direct connection resource pool and/or the second direct connection resource pool on the basis of the third indication of the third direct connection resource pool.

For the apparatus in the above examples, a specific method for each module to execute an operation is described in detail in the examples relating to the method, and will not be described in detail herein.

FIG. 10 is a block diagram of yet another apparatus 300 for selecting a resource according to an illustrative example. For instance, the apparatus 300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

With reference to FIG. 10 , the apparatus 300 may include one or more of the following assemblies: a processing assembly 302, a memory 304, a power assembly 306, a multimedia assembly 308, an audio assembly 310, an input/output (I/O) interface 312, a sensor assembly 314, and a communication assembly 316.

The processing assembly 302 generally controls all operations of the apparatus 300, such as operations associated with display, telephone call, data communication, camera operation and recording operation. The processing assembly 302 may include one or more processors 320 configured to execute an instruction, so as to complete all or some steps of the method. In addition, the processing assembly 302 may include one or more modules to facilitate interaction between the processing assembly 302 and other assemblies. For instance, the processing assembly 302 may include a multimedia module to facilitate interaction between the multimedia assembly 308 and the processing assembly 302.

The memory 304 is configured to store various types of data, so as to support the operations on the apparatus 300. Instances of the data include an instruction for any application or method operating on the apparatus 300, contact data, phone book data, a message, a picture, a video, etc. The memory 304 may be implemented by any type of volatile or nonvolatile memory device or their combination, such as a static random access memory (SRAM), an electrically erasable programmable read only memory (EEPROM), an erasable programmable read only memory (EPROM), a programmable read only memory (PROM), a read only memory (ROM), a magnetic memory, a flash memory, a magnetic disk, or an optical disk.

The power assembly 306 supplies power to various assemblies of the apparatus 300. The power assembly 306 may include a power management system, one or more power supplies, and other assemblies associated with generating, managing and distributing power for the apparatus 300.

The multimedia assembly 308 includes a screen that provides an output interface between the apparatus 300 and a user. In some examples, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes the touch panel, the screen may be implemented as a touch screen to receive an input signal from the user. The touch panel includes one or more touch sensors to sense touch, slide and gestures on the touch panel. The touch sensor may sense a boundary of a touch or slide operation, and detect duration and pressure related to the touch or slide operation. In some examples, the multimedia assembly 308 includes a front-facing camera and/or a rear-facing camera. When the apparatus 300 is in an operation mode, such as a photographing mode or a video mode, the front-facing camera and/or the rear-facing camera may receive external multimedia data. Each of the front-facing camera and the rear-facing camera may be a fixed optical lens system or have a focal length and optical zoom capability.

The audio assembly 310 is configured to output and/or input an audio signal. For instance, the audio assembly 310 includes a microphone (MIC). The microphone is configured to receive an external audio signal when the apparatus 300 is in operation modes such as a call mode, a recording mode and a speech identification mode. The received audio signal may be further stored in the memory 304 or transmitted via the communication assembly 316. In some examples, the audio assembly 310 further includes a speaker configured to output an audio signal.

The I/O interface 312 provides an interface between the processing assembly 302 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, etc. The buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.

The sensor assembly 314 includes one or more sensors for providing various aspects of state assessment for the apparatus 300. For instance, the sensor assembly 314 may detect an on/off state of the apparatus 300 and relative positioning of the assemblies such as a display and a keypad of the apparatus 300, and the sensor assembly 314 may further detect position change of the apparatus 300 or an assembly of the apparatus 300, presence or absence of contact between the user and the apparatus 300, an orientation or acceleration/deceleration of the apparatus 300 and temperature change of the apparatus 300. The sensor assembly 314 may include a proximity sensor configured to detect presence of a nearby object without any physical contact. The sensor assembly 314 may further include an optical sensor, such as a complementary metal-oxide-semiconductor (CMOS) or charge-coupled device (CCD) image sensor, which is used in imaging application. In some examples, the sensor assembly 314 may further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

The communication assembly 316 is configured to facilitate wired or radio communication between the apparatus 300 and other devices. The apparatus 300 may access a wireless network based on a communication standard, such as WiFi, the 2nd generation mobile communication technology (2G) or the 3rd generation mobile communication technology (3G), or their combination. In an illustrative example, the communication assembly 316 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an illustrative example, the communication assembly 316 further includes a near field communication (NFC) module to facilitate short-range communication. For instance, the NFC module may be implemented on the basis of a radio frequency identification (RFID) technology, an infrared data association (IrDA) technology, an ultra wide band (UWB) technology, a Bluetooth (BT) technology or other technologies.

In an illustrative example, the apparatus 300 may be implemented by one or more of an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components, thus executing the method.

In an illustrative example, there is further provided a non-transitory computer-readable storage medium including an instruction, such as the memory 304 including an instruction. The instruction may be executed by the processor 320 of the apparatus 300 so as to complete the method. For instance, the non-transitory computer-readable storage medium may be ROM, a random access memory (RAM), CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

It can be further understood that “a plurality of” in the disclosure refers to two or above, and that other quantifiers are similar. When describing an association relation of associated objects, “and/or” means that there may be three relations, for instance, A and/or B, which may mean that A exists independently, A and B exist at the same time, or B exists independently. The character “/” generally means an “or” relation between two associated context objects. The singular forms such as “a”, “the” and “this” are also intended to include the plural forms, unless otherwise clearly stated in the context.

It can be further understood that terms “first”, “second”, etc. are used to describe various information, but such information is not limited to these terms. These terms are used only to distinguish the same type of information from one another and do not indicate a particular order or level of importance. In fact, expressions “first” and “second” can be used interchangeably. For instance, without departing from the scope of the disclosure, a first direct connection resource pool can also be called a second direct connection resource pool, and similarly, the second direct connection resource pool can also be called the first direct connection resource pool.

It can be further understood that although the operations are described in a specific order in the drawings in the examples of the disclosure, but the operations are not required to be executed in the specific order or serial order shown, and alternatively, all the operations shown are not required to be executed to obtain desired results. Under specific circumstances, multitasking and parallel processing may be advantageous.

Those skilled in the art could easily conceive of other implementation solutions of the disclosure upon consideration of the description and the invention disclosed herein. The present application is intended to cover any variations, uses or adaptive changes of the disclosure, which follow the general principles of the disclosure and include common general knowledge or conventional technical means not disclosed in the art. The description and the examples are regarded as merely illustrative, and the true scope and spirit of the disclosure are indicated by the following claims.

It is to be understood that the disclosure is not limited to a precise structure described above and illustrated in the accompanying drawings, and can have various modifications and changes without departing from the scope. The scope of the disclosure is limited merely by the appended claims.

A first aspect of an example of the disclosure provides a method for selecting a resource. The method for selecting a resource is applied to a first device and includes: receiving first direct connection control signaling transmitted from a second device by using a first direct connection resource pool, where the first direct connection control signaling includes an indication of an auxiliary time and frequency resource set, and the auxiliary time and frequency resource set belongs to a second direct connection resource pool and is configured to assist the first device in selecting a resource; and selecting a direct transmission resource in a third direct connection resource pool on the basis of the auxiliary time and frequency resource set.

In an embodiment, the first device is configured or pre-configured with a plurality of direct connection resource pools, and the third direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools.

In an embodiment, the first direct connection resource pool and/or the second direct connection resource pool are/is determined on the basis of the third direct connection resource pool.

In an embodiment, the first direct connection resource pool and/or the third direct connection resource pool are/is the same direct connection resource pool as the third direct connection resource pool.

In an embodiment, the third direct connection resource pool includes a time and frequency resource triggering the second device to transmit the first direct connection control signaling.

In an embodiment, the method for selecting a resource further includes: determining, according to configuration or pre-configuration information, whether a direct connection resource pool supports selection of the direct transmission resource on the basis of the auxiliary time and frequency resource set.

In an embodiment, the third direct connection resource pool is a direct connection resource pool supporting selection of the direct transmission resource on the basis of the auxiliary time and frequency resource set.

In an embodiment, the first device is configured or pre-configured with a plurality of direct connection resource pools, and the first direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools.

In an embodiment, the first direct connection resource pool is determined by using one or a combination of the following modes:

-   -   determining the first direct connection resource pool on the         basis of configuration information, where the configuration         information is obtained by receiving base station downlink         signaling or through pre-configuration; determining the first         direct connection resource pool on the basis of a set rule;         determining the first direct connection resource pool on the         basis of a channel sensing or signal measurement result; and         determining the first direct connection resource pool on the         basis of a time and frequency resource triggering the second         device to transmit the first direct connection control         signaling.

In an embodiment, the first device is configured or pre-configured with a plurality of direct connection resource pools, and the second direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools.

In an embodiment, the second direct connection resource pool is determined by using one or a combination of the following modes:

-   -   determining the second direct connection resource pool on the         basis of configuration information, where the configuration         information is obtained by receiving base station downlink         signaling or through pre-configuration; determining the second         direct connection resource pool according to a first indication         in the first direct connection control signaling; determining         the second direct connection resource pool according to a time         and frequency resource used for transmission of the first direct         connection control signaling; determining the second direct         connection resource pool according to a channel sensing or         signal measurement result; and determining the second direct         connection resource pool on the basis of a time and frequency         resource triggering the second device to transmit the first         direct connection control signaling.

In an embodiment, the time and frequency resource triggering the second device to transmit the first direct connection control signaling includes one or a combination of the following:

-   -   a time and frequency resource used by second direct connection         control signaling transmitted from the first device; a time and         frequency resource used by a direct connection channel sensed or         measured by the first device; and a time and frequency resource         used by a direct connection signal sensed or measured by the         first device.

In an embodiment, the method for selecting a resource further includes: transmitting the second direct connection control signaling, where the second direct connection control signaling is configured to trigger the second device to transmit the first direct connection control signaling.

In an embodiment, the method for selecting a resource further includes: determining a fourth direct connection resource pool to which the time and frequency resource used by the second direct connection control signaling belongs.

In an embodiment, the determining a fourth direct connection resource pool to which the time and frequency resource used by the second direct connection control signaling belongs includes: determining the fourth direct connection resource pool according to the configuration information, where the configuration information is obtained by receiving the base station downlink signaling or through pre-configuration; determining the fourth direct connection resource pool on the basis of the set rule; determining the fourth direct connection resource pool on the basis of the channel sensing or signal measurement result; and determining the fourth direct connection resource pool on the basis of the third direct connection resource pool.

In an embodiment, the second direct connection control signaling carries a second indication of the first direct connection resource pool and/or the second direct connection resource pool.

In an embodiment, the second direct connection control signaling carries a third indication of the third direct connection resource pool.

A second aspect of an example of the disclosure provides a method for selecting a resource. The method for selecting a resource is applied to a second device and includes: determining, in response to determining the second device is configured or pre-configured with a plurality of direct connection resource pools, a first direct connection resource pool in the plurality of direct connection resource pools; and transmitting first direct connection control signaling by using the first direct connection resource pool, where the first direct connection control signaling includes an indication of an auxiliary time and frequency resource set, and the auxiliary time and frequency resource set belongs to a second direct connection resource pool and is configured to assist a first device in selecting a resource.

In an embodiment, the first direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools.

In an embodiment, the first direct connection resource pool is determined by using one or a combination of the following modes:

-   -   determining the first direct connection resource pool on the         basis of configuration information, where the configuration         information is obtained by receiving base station downlink         signaling or through pre-configuration; determining the first         direct connection resource pool on the basis of a set rule;         determining the first direct connection resource pool on the         basis of a channel sensing or signal measurement result; and         determining the first direct connection resource pool on the         basis of a time and frequency resource triggering the second         device to transmit the first direct connection control         signaling.

In an embodiment, the second direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools.

In an embodiment, the second direct connection resource pool is determined by using one or a combination of the following modes:

-   -   determining the second direct connection resource pool on the         basis of configuration information, where the configuration         information is obtained by receiving base station downlink         signaling or through pre-configuration; determining the second         direct connection resource pool according to a time and         frequency resource used for transmission of the first direct         connection control signaling; determining the second direct         connection resource pool according to a channel sensing or         signal measurement result; and determining the second direct         connection resource pool on the basis of a time and frequency         resource triggering the second device to transmit the first         direct connection control signaling.

In an embodiment, the first direct connection control signaling carries a first indication of the second direct connection resource pool.

In an embodiment, the method for selecting a resource further includes:

-   -   receiving second direct connection control signaling transmitted         from the first device, where the second direct connection         control signaling is configured to trigger the second device to         transmit the first direct connection control signaling.

In an embodiment, the second direct connection control signaling carries a second indication of the first direct connection resource pool and/or the second direct connection resource pool; and the method for selecting a resource further includes: determining the first direct connection resource pool and/or the second direct connection resource pool on the basis of the second indication.

In an embodiment, the second direct connection control signaling carries a third indication of a third direct connection resource pool, and the third direct connection resource pool is a direct connection resource pool to which a direct transmission resource selected by the first device belongs; and the method for selecting a resource further includes: determining the first direct connection resource pool and/or the second direct connection resource pool on the basis of the third indication of the third direct connection resource pool.

A third aspect of an example of the disclosure provides an apparatus for selecting a resource. The apparatus for selecting a resource is applied to a first device and includes:

-   -   a reception unit configured to receive first direct connection         control signaling transmitted from a second device by using a         first direct connection resource pool, where the first direct         connection control signaling includes an indication of an         auxiliary time and frequency resource set, and the auxiliary         time and frequency resource set belongs to a second direct         connection resource pool and is configured to assist the first         device in selecting a resource; and a processing unit configured         to select a direct transmission resource in a third direct         connection resource pool on the basis of the auxiliary time and         frequency resource set.

In an embodiment, the first device is configured or pre-configured with a plurality of direct connection resource pools, and the third direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools.

In an embodiment, the first direct connection resource pool and/or the second direct connection resource pool are/is determined on the basis of the third direct connection resource pool.

In an embodiment, the first direct connection resource pool and/or the third direct connection resource pool are/is the same direct connection resource pool as the third direct connection resource pool.

In an embodiment, the third direct connection resource pool includes a time and frequency resource triggering the second device to transmit the first direct connection control signaling.

In an embodiment, the processing unit is further configured to determine, according to configuration or pre-configuration information, whether a direct connection resource pool supports selection of the direct transmission resource on the basis of the auxiliary time and frequency resource set.

In an embodiment, the third direct connection resource pool is a direct connection resource pool supporting selection of the direct transmission resource on the basis of the auxiliary time and frequency resource set.

In an embodiment, the first device is configured or pre-configured with a plurality of direct connection resource pools, and the first direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools.

In an embodiment, the first direct connection resource pool is determined by using one or a combination of the following modes:

-   -   determining the first direct connection resource pool on the         basis of configuration information, where the configuration         information is obtained by receiving base station downlink         signaling or through pre-configuration; determining the first         direct connection resource pool on the basis of a set rule;         determining the first direct connection resource pool on the         basis of a channel sensing or signal measurement result; and         determining the first direct connection resource pool on the         basis of a time and frequency resource triggering the second         device to transmit the first direct connection control         signaling.

In an embodiment, the first device is configured or pre-configured with a plurality of direct connection resource pools, and the second direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools.

In an embodiment, the second direct connection resource pool is determined by using one or a combination of the following modes:

-   -   determining the second direct connection resource pool on the         basis of configuration information, where the configuration         information is obtained by receiving base station downlink         signaling or through pre-configuration; determining the second         direct connection resource pool according to a first indication         in the first direct connection control signaling; determining         the second direct connection resource pool according to a time         and frequency resource used for transmission of the first direct         connection control signaling; determining the second direct         connection resource pool according to a channel sensing or         signal measurement result; and determining the second direct         connection resource pool on the basis of a time and frequency         resource triggering the second device to transmit the first         direct connection control signaling.

In an embodiment, the time and frequency resource triggering the second device to transmit the first direct connection control signaling includes one or a combination of the following:

-   -   a time and frequency resource used by second direct connection         control signaling transmitted from the first device; a time and         frequency resource used by a direct connection channel sensed or         measured by the first device; and a time and frequency resource         used by a direct connection signal sensed or measured by the         first device.

In an embodiment, the apparatus for selecting a resource further includes a transmission unit. The transmission unit is configured to transmit the second direct connection control signaling, where the second direct connection control signaling is configured to trigger the second device to transmit the first direct connection control signaling.

In an embodiment, the processing unit is further configured to determine a fourth direct connection resource pool to which the time and frequency resource used by the second direct connection control signaling belongs.

In an embodiment, the fourth direct connection resource pool to which the time and frequency resource used by the second direct connection control signaling belongs is determined as follows: the fourth direct connection resource pool is determined according to the configuration information, where the configuration information is obtained by receiving the base station downlink signaling or through pre-configuration; the fourth direct connection resource pool is determined on the basis of the set rule; the fourth direct connection resource pool is determined on the basis of the channel sensing or signal measurement result; and the fourth direct connection resource pool is determined on the basis of the third direct connection resource pool.

In an embodiment, the second direct connection control signaling carries a second indication of the first direct connection resource pool and/or the second direct connection resource pool.

In an embodiment, the second direct connection control signaling carries a third indication of the third direct connection resource pool.

A fourth aspect of an example of the disclosure provides an apparatus for selecting a resource. The apparatus for selecting a resource is applied to a second device and includes:

-   -   a processing unit configured to determine, in response to         determining the second device is configured or pre-configured         with a plurality of direct connection resource pools, a first         direct connection resource pool in the plurality of direct         connection resource pools; and a transmission unit configured to         transmit first direct connection control signaling by using the         first direct connection resource pool, where the first direct         connection control signaling includes an indication of an         auxiliary time and frequency resource set, and the auxiliary         time and frequency resource set belongs to a second direct         connection resource pool and is configured to assist a first         device in selecting a resource.

In an embodiment, the first direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools.

In an embodiment, the first direct connection resource pool is determined by using one or a combination of the following modes:

-   -   determining the first direct connection resource pool on the         basis of configuration information, where the configuration         information is obtained by receiving base station downlink         signaling or through pre-configuration; determining the first         direct connection resource pool on the basis of a set rule;         determining the first direct connection resource pool on the         basis of a channel sensing or signal measurement result; and         determining the first direct connection resource pool on the         basis of a time and frequency resource triggering the second         device to transmit the first direct connection control         signaling.

In an embodiment, the second direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools.

In an embodiment, the second direct connection resource pool is determined by using one or a combination of the following modes:

-   -   determining the second direct connection resource pool on the         basis of configuration information, where the configuration         information is obtained by receiving base station downlink         signaling or through pre-configuration; determining the second         direct connection resource pool according to a time and         frequency resource used for transmission of the first direct         connection control signaling; determining the second direct         connection resource pool according to a channel sensing or         signal measurement result; and determining the second direct         connection resource pool on the basis of a time and frequency         resource triggering the second device to transmit the first         direct connection control signaling.

In an embodiment, the first direct connection control signaling carries a first indication of the second direct connection resource pool.

In an embodiment, the apparatus for selecting a resource further includes a reception unit. The reception unit is configured to receive second direct connection control signaling transmitted from the first device, where the second direct connection control signaling is configured to trigger the second device to transmit the first direct connection control signaling.

In an embodiment, the second direct connection control signaling carries a second indication of the first direct connection resource pool and/or the second direct connection resource pool; and the processing unit is further configured to determine the first direct connection resource pool and/or the second direct connection resource pool on the basis of the second indication.

In an embodiment, the second direct connection control signaling carries a third indication of a third direct connection resource pool, and the third direct connection resource pool is a direct connection resource pool to which a direct transmission resource selected by the first device belongs; and the processing unit is further configured to determine the first direct connection resource pool and/or the second direct connection resource pool on the basis of the third indication of the third direct connection resource pool.

A fifth aspect of an example of the disclosure provides an apparatus for selecting a resource. The apparatus for selecting a resource includes:

-   -   a processor, and a memory configured to store an instruction         executable by the processor, where     -   the processor is configured to execute the method for selecting         a resource according to the first aspect or any one of the         embodiments of the first aspect.

A sixth aspect of an example of the disclosure provides an apparatus for selecting a resource. The apparatus for selecting a resource includes:

-   -   a processor, and a memory configured to store an instruction         executable by the processor, where     -   the processor is configured to execute the method for selecting         a resource according to the second aspect or any one of the         embodiments of the second aspect.

A seventh aspect of an example of the disclosure provides a non-transitory computer-readable storage medium. When an instruction in the storage medium is executed by a processor of a mobile terminal, the mobile terminal is capable of executing the method for selecting a resource according to the first aspect or any one of the embodiments of the first aspect.

An eighth aspect of an example of the disclosure provides a non-transitory computer-readable storage medium. When an instruction in the storage medium is executed by a processor of a mobile terminal, the mobile terminal is capable of executing the method for selecting a resource according to the second aspect or any one of the embodiments of the second aspect. 

1. A method for selecting a resource, performed by a first device and comprising: receiving first direct connection control signaling transmitted from a second device by using a first direct connection resource pool, wherein the first direct connection control signaling comprises an indication of an auxiliary time and frequency resource set, and the auxiliary time and frequency resource set belongs to a second direct connection resource pool and is configured to assist the first device in selecting a resource; and selecting a direct transmission resource in a third direct connection resource pool on the basis of the auxiliary time and frequency resource set; wherein the first device is configured or pre-configured with a plurality of direct connection resource pools, and the third direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools.
 2. (canceled)
 3. The method for selecting a resource according to claim 1, wherein the first direct connection resource pool and/or the second direct connection resource pool are/is determined on the basis of the third direct connection resource pool; wherein the first direct connection resource pool and/or the second direct connection resource pool are/is the same direct connection resource pool as the third direct connection resource pool.
 4. (canceled)
 5. The method for selecting a resource according to claim 1, wherein the third direct connection resource pool comprises a time and frequency resource triggering the second device to transmit the first direct connection control signaling.
 6. The method for selecting a resource according to claim 1, further comprising: determining, according to configuration information or pre-configuration, the third direct connection resource pool is a direct connection resource pool supporting selection of the direct transmission resource on the basis of the auxiliary time and frequency resource set.
 7. (canceled)
 8. (canceled)
 9. The method for selecting a resource according to claim 1, wherein the first direct connection resource pool is determined by using at least one of the following modes: determining the first direct connection resource pool on the basis of configuration information or pre-configuration; determining the first direct connection resource pool on the basis of a set rule; determining the first direct connection resource pool on the basis of a channel sensing or signal measurement result; or determining the first direct connection resource pool on the basis of a time and frequency resource triggering the second device to transmit the first direct connection control signaling.
 10. (canceled)
 11. The method for selecting a resource according to claim 1, wherein the second direct connection resource pool is determined by using at least one of the following modes: determining the second direct connection resource pool on the basis of configuration information or pre-configuration; determining the second direct connection resource pool according to a first indication in the first direct connection control signaling; determining the second direct connection resource pool according to a time and frequency resource used for transmission of the first direct connection control signaling; determining the second direct connection resource pool according to a channel sensing or signal measurement result; or determining the second direct connection resource pool on the basis of a time and frequency resource triggering the second device to transmit the first direct connection control signaling.
 12. The method for selecting a resource according to claim 5, wherein the time and frequency resource triggering the second device to transmit the first direct connection control signaling comprises at least one of: a time and frequency resource used by second direct connection control signaling transmitted from the first device; a time and frequency resource used by a direct connection channel sensed or measured by the first device; or a time and frequency resource used by a direct connection signal sensed or measured by the first device.
 13. The method for selecting a resource according to claim 1, further comprising: transmitting the second direct connection control signaling, wherein the second direct connection control signaling is configured to trigger the second device to transmit the first direct connection control signaling.
 14. The method for selecting a resource according to claim 13, further comprising: determining a fourth direct connection resource pool to which the time and frequency resource used by the second direct connection control signaling belongs; wherein the determining a fourth direct connection resource pool to which the time and frequency resource used by the second direct connection control signaling belongs comprises at least one of: determining the fourth direct connection resource pool according to the configuration information or pre-configuration; determining the fourth direct connection resource pool on the basis of the set rule; determining the fourth direct connection resource pool on the basis of the channel sensing or signal measurement result; or determining the fourth direct connection resource pool on the basis of the third direct connection resource pool.
 15. (canceled)
 16. The method for selecting a resource according to claim 13, wherein the second direct connection control signaling carries a second indication of the first direct connection resource pool and/or the second direct connection resource pool, or wherein the second direct connection control signaling carries a third indication of the third direct connection resource pool.
 17. (canceled)
 18. A method for selecting a resource, performed by a second device and comprising: determining the second device is configured or pre-configured with a plurality of direct connection resource pools, determining a first direct connection resource pool in the plurality of direct connection resource pools; and transmitting first direct connection control signaling by using the first direct connection resource pool, wherein the first direct connection control signaling comprises an indication of an auxiliary time and frequency resource set, and the auxiliary time and frequency resource set belongs to a second direct connection resource pool and is configured to assist a first device in selecting a resource.
 19. The method for selecting a resource according to claim 18, wherein the first direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools.
 20. The method for selecting a resource according to claim 19, wherein the second direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pools; wherein the first direct connection resource pool is determined by using one or a combination of the following modes: determining the first direct connection resource pool on the basis of configuration information or pre-configuration; determining the first direct connection resource pool on the basis of a set rule; determining the first direct connection resource pool on the basis of a channel sensing or signal measurement result; determining the first direct connection resource pool on the basis of a time and frequency resource triggering the second device to transmit the first direct connection control signaling.
 21. (canceled)
 22. The method for selecting a resource according to claim 20, wherein the second direct connection resource pool is determined by using one or a combination of the following modes: determining the second direct connection resource pool on the basis of configuration information or pre-configuration; determining the second direct connection resource pool according to a time and frequency resource used for transmission of the first direct connection control signaling; determining the second direct connection resource pool according to a channel sensing or signal measurement result; determining the second direct connection resource pool on the basis of a time and frequency resource triggering the second device to transmit the first direct connection control signaling.
 23. The method for selecting a resource according to claim 18, wherein the first direct connection control signaling carries a first indication of the second direct connection resource pool.
 24. The method for selecting a resource according to claim 18, further comprising: receiving second direct connection control signaling transmitted from the first device, wherein the second direct connection control signaling is configured to trigger the second device to transmit the first direct connection control signaling.
 25. The method for selecting a resource according to claim 24, wherein the second direct connection control signaling carries a second indication of the first direct connection resource pool and/or the second direct connection resource pool; and the method for selecting a resource further comprises: determining the first direct connection resource pool and/or the second direct connection resource pool on the basis of the second indication.
 26. The method for selecting a resource according to claim 24, wherein the second direct connection control signaling carries a third indication of a third direct connection resource pool, and the third direct connection resource pool is a direct connection resource pool to which a direct transmission resource selected by the first device belongs; and the method for selecting a resource further comprises: determining the first direct connection resource pool and/or the second direct connection resource pool on the basis of the third indication of the third direct connection resource pool. 27-28. (canceled)
 29. An apparatus for selecting a resource, comprising: a processor; and a memory configured to store an instruction executable by the processor, wherein the processor is configured to: receive first direct connection control signaling transmitted from a second device by using a first direct connection resource pool, wherein the first direct connection control signaling comprises an indication of an auxiliary time and frequency resource set, and the auxiliary time and frequency resource set belongs to a second direct connection resource pool and is configured to assist the first device in selecting a resource; and select a direct transmission resource in a third direct connection resource pool on the basis of the auxiliary time and frequency resource set; wherein the first device is configured or pre-configured with a plurality of direct connection resource pools, and the third direct connection resource pool is one or more direct connection resource pools in the plurality of direct connection resource pool.
 30. A non-transitory computer-readable storage medium, wherein when an instruction in the storage medium is executed by a processor of a mobile terminal, the mobile terminal is capable of executing the method for selecting a resource according to claim
 1. 